package com.teach.entity;

import com.teach.util.DBUtil;
import java.io.Serializable;

/**
 * <pre>
 * - 国家实体类
 * 其他注释说明 * Author : J.L.Zhou
 * E-Mail : 12020042@qq.com
 * Tel : 151 1104 7708
 * Date : 2022-05-04 14:14
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 */
public class CountryInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * COUNTRY_CODE VARCHAR 国家代码
	 *             例如:中国-cn 美国-us
	 *                  */
    @DBUtil.Id
    private String countryCode;

    /**
     * COUNTRY_NAME_CN VARCHAR 国家中文名称
     */
    private String countryNameCn;

    /**
     * COUNTRY_NAME_EN VARCHAR 国家英文名称
     */
    private String countryNameEn;

    /**
     * COUNTRY_NAME VARCHAR 简称
     */
    private String countryName;

    /**
     * COUNTRY_URI VARCHAR 国旗存放URI
     */
    private String countryUri;

    /**
     * - 无参构造方法
     */
    public CountryInfo(){}

    /**
     * - 全参构造方法
     */
    public CountryInfo(String countryCode, String countryNameCn, String countryNameEn, String countryName, String countryUri){
        this.countryCode = countryCode;
        this.countryNameCn = countryNameCn;
        this.countryNameEn = countryNameEn;
        this.countryName = countryName;
        this.countryUri = countryUri;
    }

    /**
     * - 主键构造方法
     */
    public CountryInfo(String countryCode){
        this.countryCode = countryCode;
    }


    /**
     * - 获取国家代码
     */
    public String getCountryCode(){
        return countryCode;
    }

    /**
     * - 设置国家代码
     */
    public void setCountryCode(String countryCode){
        this.countryCode = countryCode;
    }

    /**
     * - 获取国家中文名称
     */
    public String getCountryNameCn(){
        return countryNameCn;
    }

    /**
     * - 设置国家中文名称
     */
    public void setCountryNameCn(String countryNameCn){
        this.countryNameCn = countryNameCn;
    }

    /**
     * - 获取国家英文名称
     */
    public String getCountryNameEn(){
        return countryNameEn;
    }

    /**
     * - 设置国家英文名称
     */
    public void setCountryNameEn(String countryNameEn){
        this.countryNameEn = countryNameEn;
    }

    /**
     * - 获取简称
     */
    public String getCountryName(){
        return countryName;
    }

    /**
     * - 设置简称
     */
    public void setCountryName(String countryName){
        this.countryName = countryName;
    }

    /**
     * - 获取国旗存放URI
     */
    public String getCountryUri(){
        return countryUri;
    }

    /**
     * - 设置国旗存放URI
     */
    public void setCountryUri(String countryUri){
        this.countryUri = countryUri;
    }

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CountryInfo [countryCode=");
		builder.append(countryCode);
		builder.append(", countryNameCn=");
		builder.append(countryNameCn);
		builder.append(", countryNameEn=");
		builder.append(countryNameEn);
		builder.append(", countryName=");
		builder.append(countryName);
		builder.append(", countryUri=");
		builder.append(countryUri);
		builder.append("]");
		return builder.toString();
	}
}
